package com.yn.xgame.po;

/**
 * ServerInfo
 * Created by wangboo on 2017/7/12.
 */
public class ServerInfo {

    public int id;
    public String ip;
    public int port;
    public String topic;

    public ServerInfo(){}

    public ServerInfo(int id, String ip, int port, String topic) {
        this.id = id;
        this.ip = ip;
        this.port = port;
        this.topic = topic;
    }

    @Override
    public String toString() {
        return "ServerInfo{" +
                "id=" + id +
                ", ip='" + ip + '\'' +
                ", port=" + port +
                ", topic='" + topic + '\'' +
                '}';
    }
}
